﻿<UserControl x:Class="Hydra.Shell.Controls.HydraStatusBar"
    xmlns:hydra="clr-namespace:Hydra.Shell.Implementations;assembly=HydraShellClient"
    xmlns:sr="clr-namespace:Divelements.SandRibbon;assembly=Divelements.SandRibbon"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    HorizontalContentAlignment="Stretch"
    d:DesignHeight="20" d:DesignWidth="800" Height="20"
    HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Loaded="UserControl_Loaded">

    <Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="20">
        <sr:StatusBar Name="StatusBar" HorizontalContentAlignment="Stretch" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <Grid Name="StatusBarGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition MinWidth="500" Width="*" />
                    <ColumnDefinition MinWidth="100" Width="*" />
                    <ColumnDefinition MinWidth="20" />
                    <ColumnDefinition MinWidth="200" />
                    <ColumnDefinition MinWidth="300" Width="*" />
                </Grid.ColumnDefinitions>
                <sdk:Label Name="Text" Grid.Column="0" Margin="0,0,0,0"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="" />
                <ProgressBar Visibility="Collapsed" Name="ProgressBar" Background="Transparent" Grid.Column="1" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsTabStop="True" Foreground="Green" />
                <Canvas Name="IconCanvas" Grid.Column="2" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
                <Grid Name="EditorArea" Grid.Column="3" Margin="0,0,0,0"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="50" />
                            <ColumnDefinition Width="50" />
                            <ColumnDefinition Width="50" />
                            <ColumnDefinition Width="50" />
                        </Grid.ColumnDefinitions>
                        <sdk:Label Name="Line" Grid.Column="0" Content="" />
                        <sdk:Label Name="Col" Grid.Column="1" Content="" />
                        <sdk:Label Name="Ch" Grid.Column="2" Content="" />
                        <sdk:Label Name="Mode" Grid.Column="3" Content="" />
                    </Grid>
                </Grid>
                <sdk:Label Name="Legal" Grid.Column="4" Margin="0,0,0,0" HorizontalAlignment="Right" VerticalAlignment="Stretch" Content="" />
            </Grid>
        </sr:StatusBar>
    </Grid>
</UserControl>
